package com.cy.java.basic;


import java.util.Arrays;

public class HelloWorld {
    public static void main(String[] args) {
//        System.out.println(Arrays.toString(args));
//        System.out.println("HelloWorld! Gitee! !!");
//        Integer n1 = 100;
//        Integer n2 = 100;
//        System.out.println(n1 == n2);
        System.out.println(fun(3.7,1300,23));

    }//樱花粉之注释，多骚哦

    static double  fun(double a,int satb,int actc)
    {
        double  r=0;
        if(a>=3.7 &&(satb >=1200||actc>=26))
        {
            r=30000;
        }
        else if(a>=3.0||satb >=1200||actc>=26)
        {
            r=15000;
        }
        return  r;
    }
}
